package com.example.teachingSystem.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ScoreInfoVo implements Serializable {
    /**
     * 成绩id
     */
    private Long scoreId;

    /**
     * 选课id
     */
    private Long enrollmentId;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 课程成绩
     */
    private BigDecimal grade;

    /**
     * 成绩创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date createTime;

    /**
     ** 平时成绩
     */
    private BigDecimal usualGrade;

    /**
     * 考试成绩
     */
    private BigDecimal examGrade;
}
